var limsPersonEduExperience = Gikam.getPageObject({

    getEditListColumns : function() {
        return [ {
            checkbox : true
        }, {
            field : 'startTime',
            title : 'T_LIMS_PERSON_EDU_EXPERIENCE.STARTTIME',
            type:'date',
            editor:true
        }, {
            field : 'endTime',
            title : 'T_LIMS_PERSON_EDU_EXPERIENCE.ENDTIME',
            type:'date',
            editor:true
        }, {
            field : 'school',
            title : 'T_LIMS_PERSON_EDU_EXPERIENCE.SCHOOL',
            validators : [ 'strLength[0,33]' ],
            editor:true
        }, {
            field : 'address',
            title : 'T_LIMS_PERSON_EDU_EXPERIENCE.ADDRESS',
            validators : [ 'strLength[0,100]' ],
            editor:true
        }, {
            field : 'major',
            title : 'T_LIMS_PERSON_EDU_EXPERIENCE.MAJOR',
            validators : [ 'strLength[0,33]' ],
            editor:true
        }, {
            field : 'education',
            title : 'T_LIMS_PERSON_EDU_EXPERIENCE.EDUCATION',
            validators : [ 'strLength[0,33]' ],
            editor:true
        }/*, {
            field : 'remark',
            title : 'T_LIMS_PERSON_EDU_EXPERIENCE.REMARK'
        }*/ ];
    },

    getBaseInfoFormFields : function() {
        return [{
            field : 'startTime',
            title : 'T_LIMS_PERSON_EDU_EXPERIENCE.STARTTIME',
            //preInsert:true,
            type:'date'
        }, {
            field : 'endTime',
            title : 'T_LIMS_PERSON_EDU_EXPERIENCE.ENDTIME',
            //preInsert:true,
            type:'date'
        },  {
            field : 'school',
            title : 'T_LIMS_PERSON_EDU_EXPERIENCE.SCHOOL',
            validators : [ 'strLength[0,33]' ],
            //preInsert:true
        }, {
            field : 'address',
            title : 'T_LIMS_PERSON_EDU_EXPERIENCE.ADDRESS',
            validators : [ 'strLength[0,100]' ],
            //preInsert:true
        }, {
            field : 'major',
            title : 'T_LIMS_PERSON_EDU_EXPERIENCE.MAJOR',
            validators : [ 'strLength[0,83]' ],
            //preInsert:true
        }, {
            field : 'education',
            title : 'T_LIMS_PERSON_EDU_EXPERIENCE.EDUCATION',
            validators : [ 'strLength[0,20]' ],
            //preInsert:true
        }, {
            field : 'remark',
            title : 'T_LIMS_PERSON_EDU_EXPERIENCE.REMARK',
            validators : [ 'strLength[0,100]' ]
        } ];
    },

    baseUrl : IFM_CONTEXT + '/secure/basemodule/rm/persons/person-edu-experiences'
});
